package com.fangmao.a04_retrofit;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;

/**
 * @ProjectName: wman
 * @Package: com.fangmao.a04_retrofit
 * @ClassName: GitHubService
 * @Description: java类作用描述
 * @Author: wman
 * @CreateDate: 2020/2/14 13:51
 * @UpdateUser: 更新者
 * @UpdateDate: 2020/2/14 13:51
 * @UpdateRemark: 更新说明
 * @Version: 1.0
 */
public interface GitHubService {
    @GET("users/{user}/repos")
    Call<List<Repo>> listRepos(@Path("user") String user);

//    @GET("users/rengwuxian/repos")
//    Call<ResponseBody> getRepos();
}
